<?php
/**
 * Created by PhpStorm
 * User: rain
 * Date: 2018/12/26
 * Time: 下午5:23
 */

namespace App\Models;

use Illuminate\Database\Eloquent\Model;


/**
 * Class UserBookChapter
 * @property integer $id
 * @property integer $user_id
 * @property integer $book_id
 * @property integer $book_chapter_id
 * @property integer $cor_word_ct
 * @property integer $error_cn_audio
 * @property string $created_at
 * @property string $updated_at
 * @property integer $turn
 * @property integer $level
 * @package App\Models
 */
class UserBookChapter extends Model
{
    protected $table = 'user_book_chapter';
    protected $guarded=['id'];

    public function book()
    {
        return $this->belongsTo(Book::class);
    }
}
